<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script>
function doAction() {
	<?php if ($_GET['mainPage'] == 'true') { ?>
		document.forms[0].action = 'index.php';
	<?php } else { ?>
		document.forms[0].action = 'main.php';
	<?php } ?>
	document.forms[0].submit();
}
</script>
</head>
<body>

<form action="main.php" method="post">
<table width="100%">
	<tr>
		<td class="notificationLabel">
			<?php
				if ($_GET['msg'] != '') {
					echo $_GET['msg'];
				} 
			?>
		</td>
	</tr>
	<tr>
		<td>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td align="center">
			<input type="button" value="OK" onclick="doAction();"/>
		</td>
	</tr>
</table>
</form>

</body>
</html>